﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using ERP_RORZE_PRODUCT.Product.MonthlyCharge;

namespace ERP_RORZE_PRODUCT.Product.Forms
{
    public partial class Frm_MonthlyCharge : DevExpress.XtraEditors.XtraForm
    {
        ctrlMonthlyExpence ctrlMonthlyexpence = new ctrlMonthlyExpence();
        ctrlMonthlyChargeUpdate ctrlMonthlychargeUpdate = new ctrlMonthlyChargeUpdate();

        public Frm_MonthlyCharge()
        {
            InitializeComponent();
        }

        private void navItemMonthlyExpence_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            spcMonthlyCharge.Panel2.Controls.Clear();
            spcMonthlyCharge.Panel2.Controls.Add(ctrlMonthlyexpence);
            ctrlMonthlyexpence.Dock = DockStyle.Fill;
        }

        private void navItemMonthlyChargeUpdate_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            spcMonthlyCharge.Panel2.Controls.Clear();
            spcMonthlyCharge.Panel2.Controls.Add(ctrlMonthlychargeUpdate);
            ctrlMonthlychargeUpdate.Dock = DockStyle.Fill;
        }
    }
}